package edu.univercidade.tcc.server.service;

import java.security.Principal;
import java.util.Collection;

import org.springframework.roo.addon.layers.service.RooService;

import edu.univercidade.tcc.server.model.Issue;
import edu.univercidade.tcc.server.model.IssueStatus;

@RooService(domainTypes = { edu.univercidade.tcc.server.model.IssueStatus.class })
public interface IssueStatusService {
	
	IssueStatus findDefaultIssueStatus();
	Collection<IssueStatus> findValidIssueStatuses(Issue issue, Principal principal);
	boolean isValidDefaultStatus(IssueStatus status);
}
